﻿using BackData;
using MediatR;

namespace RBAC.API.Command.Role
{
    public class RoleUpdateCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 角色主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 角色创建时间
        /// </summary>
        public DateTime CreateTiem { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsUse { get; set; }
        /// <summary>
        /// 选择的权限外键
        /// </summary>
        public string PermissionIdArray { get; set; }

    }
}
